package com.lytfly.flowable.domain;

/**
 * @program: flow
 * @description: 流程常量
 * @author: Bruce.Liu
 * @create: 2021-03-23 21:24
 **/
public class FlowConstant {
    public static final String APP_SN = "flow";
    public static final int DEL_FLAG_0 = 0;
    public static final int DEL_FLAG_1 = 1;

    /**
     * 自定义属性名
     */
    public static final String IS_EDITDATA = "iseditdata";
    public static final String NODE_TYPE = "nodetype";
    public static final String ASSIGNEE_TYPE = "assigneeType";

    /**
     * 提交人节点名称
     */
    public static final String FLOW_SUBMITTER = "提交人";

    /**
     * 提交人的变量名称
     */
    public static final String FLOW_SUBMITTER_VAR = "initiator";

    /**
     * 自动跳过节点设置属性
     */
    public static final String FLOWABLE_SKIP_EXPRESSION_ENABLED = "_FLOWABLE_SKIP_EXPRESSION_ENABLED";

    /**
     * 后加签
     */
    public static final String AFTER_ADD_SIGN = "after";
    /**
     * 前加签
     */
    public static final String BEFORE_ADD_SIGN = "before";

    /**
     * 缓存模块名称
     */
    public static final String CACHE_PROCESS_ACTIVITYS = "cache-process-activitys";
    public static final String CACHE_PROCESS_HIGHLIGHTEDNODES = "cache-process-highlightednodes";
    public static final String CACHE_PROCESS_INSTANCE = "cache-process-instance";
    public static final String CACHE_PROCESS_DEFINITION = "cache-process-definition";
    public static final String CACHE_COMMON_DICTIONARY = "cache-common-dictionary";
    public static final String CACHE_START_PROCESSINSTANCE = "cache-start-processinstance";
    public static final String CACHE_ACL_PERMISSIONVALS = "cache-acl-permissionvals";


}
